<?php
	//require '../Config/config.php';
	//require 'function.php';

	spl_autoload_register('MyautoLoad');
	function MyautoLoad($class_name){
		$file[] = "../Class/{$class_name}.class.php";
		$file[] = "Plugin/{$class_name}.class.php";

		foreach($file as $v){
			if(file_exists($v)){
				require $v;
				return;
			}
		}
	}